.dropdown {
  max-height: 250px;
  overflow: auto;
  &::-webkit-scrollbar {
    width: 4px;
    border-radius: 4px;
  }
  &::-webkit-scrollbar-track {
    background-color: #ccc;
    border-radius: 4px;
  }
  &::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 4px;
  }
  &::-webkit-scrollbar-thumb:hover {
    background-color: #aaa
  }
  &::-webkit-scrollbar-thumb:active {
    background-color: #aaa
  }
}

.filter-input {
  margin: -5px -5px 5px;
  display: block;
  width: auto;
}

.tree-input {
  position: relative;
  width: 100%;
  height: 32px;
  line-height: 31px;
  padding: 0 5px;
  border-radius: 4px;
  border: 1px solid #d8dce5;
  background-color: #fff;
  color: #2d2f33;
  .wrap {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    margin-right: 20px;
    &::-webkit-scrollbar {
      width: 4px;
      height: 4px;
      border-radius: 4px;
      cursor: pointer;
    }
    &::-webkit-scrollbar-track {
      background-color: #ccc;
      border-radius: 4px;
      cursor: pointer;
    }
    &::-webkit-scrollbar-thumb {
      background-color: #999;
      border-radius: 4px;
      cursor: pointer;
    }
    &::-webkit-scrollbar-thumb:hover {
      background-color: #aaa;
      cursor: pointer;
    }
    &::-webkit-scrollbar-thumb:active {
      background-color: #aaa;
      cursor: pointer;
    }
  }
  .icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    i {
      transition: .3s transform;
    }
  }
  .placeholder {
    border: 0;
    width: 100%;
  }
  &:hover {
    border-color: #b4bccc;
  }
  &.show {
    border-color: #409EFF;
    .icon {
      i {
        transform: rotate(180deg)
      }
    }
  }
  .el-tag:nth-of-type(n+2) {
    margin-left: 5px;
  }
}
